<?php

/**
 * @author tungck
 * @filesource header.php
 * header of admin page
*/
$userSession = $this->session->userdata('user');
$user = $userSession['username'];
?>

<div id="header">
    <div class="admin_welcome"> SUNNET ADMIN PANEL</div>
    <div class="infor">
        <div class="admin_name">Xin Chào: <?php echo $user; ?></div>
        <div class="logout"><a href="<?php echo base_url("index/logout"); ?>">Đăng xuất</a></div>
        
    </div>
</div>